package org.mihalovic.PES.Core.Graph;

import org.apache.commons.collections15.Transformer;



/**
 * Transformer class required by PageRank to gain weight from edge.
 */
public class WeightTransformer implements Transformer</*Integer*/Edge, Double> {
    public Double transform(Edge edge) {
        return edge.getWeight();
    }
}
